﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<section data-page="payment_list" data-title="支付方式列表" data-lang="<%=ContentLang%>">
	<dl class="path1">
		<dt><span>您的位置：</span>支付方式列表</dt>
		<dd>
			<select data-class="<%=ContentLang%>Font" data-ali-widget="combo">
				<ali:List Object="Language" Source="Manager.Languages">
					<ali:Record>
						<%If Convert.ToString(Ab) == ContentLang%>
							<option value="<%=Ab%>" selected><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%Else%>
							<option value="<%=Ab%>"><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%EndIf%>
					</ali:Record>
				</ali:List>
			</select>
		</dd>
	</dl>
	<div class="ali-tabs sub-nav" data-height-style="fill" data-event="click">
		<div class="ali-tabs-header">
			<div class="ali-tabs-nav-container">
				<ul>
					<li class="ali-active"><a>支付方式列表</a></li>
					<li><a href="add.aspx?Lang=<%=ContentLang%>" target="ali-navtab">添加支付方式</a></li>
				</ul>				
			</div>
		</div>
		<div class="ali-tabs-body">
			<div class="ali-tabs-panel">
				<div class="content">
                    <table data-ali-widget="grid" class="grid1">
                        <thead>
                            <tr>
                                <th>名称</th>
                                <th width="200">支付方式</th>
                                <th width="80">删除</th>
                            </tr>
                        </thead>
                        <tbody>
                            <ali:List Object="Payment" Validate="True">
                                <ali:Record>
                                    <tr data-id="<%=InnerID%>">
                                        <td class="<%=ContentLang%>Font"><a href="../payment/edit.aspx?Lang=<%=ContentLang%>&amp;ID=<%=InnerID%>" target="ali-navtab"><%=Name%></a></td>
                                        <td>
                                            <%If Convert.ToString(Type) == "FACE_TO_FACE"%>
                                                面对面
                                            <%ElseIf Convert.ToString(Type) == "ALIPAY_DIRECT_PAY_BY_PC"%>
                                                支付宝（即时到账接口）
                                            <%ElseIf Convert.ToString(Type) == "ALIPAY_DIRECT_PAY_BY_WAP"%>
                                                支付宝（手机网站接口）
                                            <%ElseIf Convert.ToString(Type) == "ALIPAY_DIRECT_PAY_BY_BANK"%>
                                                支付宝（网银接口）
                                            <%ElseIf Convert.ToString(Type) == "ALIPAY_DIRECT_PAY_BY_APP"%>
                                                支付宝（APP接口）
                                            <%ElseIf Convert.ToString(Type) == "WEIXIN_PAY_BY_WAP"%>
                                                微信支付（网页接口）
                                            <%ElseIf Convert.ToString(Type) == "WEIXIN_PAY_BY_APP"%>
                                                微信支付（APP接口）
                                            <%ElseIf Convert.ToString(Type) == "WEIXIN_PAY_BY_MP"%>
                                                微信支付（小程序接口）
                                            <%ElseIf Convert.ToString(Type) == "CHINA_BANK"%>
                                                网银在线
                                            <%ElseIf Convert.ToString(Type) == "ICBC"%>
                                                工商银行
                                            <%ElseIf Convert.ToString(Type) == "ABC"%>
                                                农业银行
                                            <%ElseIf Convert.ToString(Type) == "CCB"%>
                                                建设银行
                                            <%ElseIf Convert.ToString(Type) == "CMB"%>
                                                招商银行
                                            <%ElseIf Convert.ToString(Type) == "BCM"%>
                                                交通银行
                                            <%ElseIf Convert.ToString(Type) == "BOC"%>
                                                中国银行
                                            <%ElseIf Convert.ToString(Type) == "CMBC"%>
                                                民生银行
                                            <%ElseIf Convert.ToString(Type) == "CIB"%>
                                                兴业银行
                                            <%EndIf%>
                                        </td>
                                        <td><a class="ali-button" data-operation="Delete">删除</a></td>
                                    </tr>
                                </ali:Record>
                            </ali:List>
                        </tbody>
                    </table>
				</div>
			</div>
		</div>
		<div class="ali-tabs-bottom"><b></b></div>
	</div>
</section>